package chu.dejian.models;

import java.util.List;

/**
 * Created by Administrator on 2015/11/28 0028.
 */
public class GetReceivedAttenderRequestResponse {

    /**
     * next :
     * prev :
     * total : 2
     * page : 1
     * results : [{"ar_id":22,"attendee":78,"attendee_name":"小明张","attendee_level":2,"status":0},{"ar_id":21,"attendee":75,"attendee_name":"OneBLE","attendee_level":2,"status":0}]
     */

    private String next;
    private String prev;
    private int total;
    private int page;
    /**
     * ar_id : 22
     * attendee : 78
     * attendee_name : 小明张
     * attendee_level : 2
     * status : 0
     */

    private List<ResultsEntity> results;

    public void setNext(String next) {
        this.next = next;
    }

    public void setPrev(String prev) {
        this.prev = prev;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public void setResults(List<ResultsEntity> results) {
        this.results = results;
    }

    public String getNext() {
        return next;
    }

    public String getPrev() {
        return prev;
    }

    public int getTotal() {
        return total;
    }

    public int getPage() {
        return page;
    }

    public List<ResultsEntity> getResults() {
        return results;
    }

    @Override
    public String toString() {
        return "GetSendedAttenderRequestResponse{" +
                "next='" + next + '\'' +
                ", prev='" + prev + '\'' +
                ", total=" + total +
                ", page=" + page +
                ", results=" + results +
                '}';
    }

    public static class ResultsEntity {
        private int ar_id;
        private String attendee;
        private String attendee_name;
        private int attendee_level;
        private int status;

        public void setAr_id(int ar_id) {
            this.ar_id = ar_id;
        }

        public void setAttendee(String attendee) {
            this.attendee = attendee;
        }

        public void setAttendee_name(String attendee_name) {
            this.attendee_name = attendee_name;
        }

        public void setAttendee_level(int attendee_level) {
            this.attendee_level = attendee_level;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getAr_id() {
            return ar_id;
        }

        public String getAttendee() {
            return attendee;
        }

        public String getAttendee_name() {
            return attendee_name;
        }

        public int getAttendee_level() {
            return attendee_level;
        }

        public int getStatus() {
            return status;
        }

        @Override
        public String toString() {
            return "ResultsEntity{" +
                    "ar_id=" + ar_id +
                    ", attendee=" + attendee +
                    ", attendee_name='" + attendee_name + '\'' +
                    ", attendee_level=" + attendee_level +
                    ", status=" + status +
                    '}';
        }
    }
}
